package com.times.demo.entity;


import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;

@Data
@Table("user")
//@JsonSerialize
//@JsonDeserialize
public class UserEntity extends BaseEntity implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    private String name;

    private String pwd;

    private String phone;

    private String rid;

//    private Date createTime;
}
